@extends('layouts.login-marster')

@section('login-register')
    <div class="loginWrap" style="padding: 45px 0 130px;width: 1180px;">
        <img src="{{asset('zjx/image/slogan.jpg')}}" class="col-md-6 col-xs-6 col-sm-6">

        <div class="signup-article">

        <div class="signup-content col-md-6 col-xs-6 col-sm-6">
            <div class="sign-title">
                <h2>会员注册</h2>
            </div>
            <!-- 会员注册 -->
            <div class="signupmain col-md-6">
                <form action="{{url('zjxhome/store')}}" method="post">
                    {{csrf_field()}}
                    <ul>
                        {{--<li class="form-item">--}}
                            {{--<label for="" class="form-label">手机:</label>--}}
                            {{--<span><input name="phone" class="x-input" type="text" placeholder="输入手机号"></span>--}}
                        {{--</li>--}}
                        {{--<li class="form-item">--}}
                            {{--<label for="" class="form-label">短信验证:</label>--}}
                            {{--<span><input name="tel" style="width:120px" class="x-input" type="text" ></span>--}}
                            {{--<a href="" style="border:1px solid #ccc;padding:3px;color:#fff;background-color:#A6A6A6;border-radius:4px">获取验证码</a>--}}
                        {{--</li>--}}
                        
                        <li class="form-item">
                            <label for="" class="form-label">邮箱</label>
                            <span><input type="email" class="x-input" name="email" placeholder="输入邮箱"></span>
                            <div class="zjx_error">
                                @if(count($errors))
                                    <span> {{$errors->first('email')}}</span>
                                @endif
                            </div>
                        </li>
                        
                        <li class="form-item">
                            <label for="" class="form-label">用户名:</label>
                            <span><input name="nickname" class="x-input" type="text" placeholder="账户名称"></span>
                            <div class="zjx_error">
                            @if(count($errors))
                                <span> {{$errors->first('nickname')}}</span>
                            @endif
                            </div>
                        </li>

                        <li class="form-item">
                            <label for="" class="form-label">密码:</label>
                            <span><input name="password" class="x-input" type="password"></span>
                            <div class="zjx_error">
                            @if(count($errors))
                                <span> {{$errors->first('password')}}</span>
                            @endif
                            </div>
                        </li>

                        <li class="form-item">
                            <label for="" class="form-label">确认密码:</label>
                            <span><input name="password_confirmation" class="x-input" type="password" placeholder="再次填写密码"></span>
                            <div class="zjx_error">
                            @if(count($errors))
                                <span> {{$errors->first('password_confirmation')}}</span>
                            @endif
                            </div>
                        </li>
                        <li id="form-img"><input type="submit" id="modal_message" class="btn btn-info" value="立即注册"></li>
                    </ul>
                </form>
            </div>
        </div>
    </div>
    </div>
@endsection